﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 期末作业
{
    class StuInfo
    {
        private string StuID;
        private string StuName;
        private string StuSex;
        private string StuAge;
        private string StuClassID;
        public string ID
        {
            get { return StuID; }
            set { StuID = value; }
        }
        public string Name
        {
            get { return StuName; }
            set { StuName = value; }
        }
        public string Sex
        {
            get { return StuSex; }
            set { StuSex = value; }
        }
        public string Age
        {
            get { return StuAge; }
            set { StuAge = value; }
        }
        public string ClassID
        {
            get { return StuClassID; }
            set { StuClassID = value; }
        }
        public StuInfo(string StuID, string StuName, string StuSex, string StuAge, string StuClassID)
        {
            ID = StuID;
            Name = StuName;
            Sex = StuSex;
            Age = StuAge;
            ClassID = StuClassID;
        }
    }
}
